<?php
echo "一行数据的输入\n";
echo "请输入一行数据\n";
$count = fscanf(STDIN,"%[^\r\n]",$line);
//var_dump($count,$line);
echo "输入的一行数据是：[$line]\n";